# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=vvave
pkgver=2.2.2
pkgrel=1
pkgdesc='Multi-platform media player'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing mauikit-accounts hicolor-icon-theme taglib)
makedepends=(extra-cmake-modules)
groups=(maui)
conflicts=(babe)
replaces=(babe)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('aea4b0cca897e6206de95b9df1d5e78abf5b577514cb97e792b48dffd2791255')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
